package com.smilingsoftwaresolutions.funkata;

@Kata(directions = "Write enum code")
public class Enums {

	// step 1 - create enum for fruits
	
	// step 2 - In new file, add constructor to enum that takes a string to the following enum (delete this one):
	enum Planets {MERCURY, MARS, EARTH};
		
	public static void main(String[] args) {
		// step 3 - write code that uses methods automatically made for Planets enum.
		// See http://java.sun.com/j2se/1.5.0/docs/guide/language/enums.html
	}



}


/*
enum constructor hint:
 public enum Planets {
	MERCURY("Hermes");
	private final String alternateName;

	Planets(String alternateName) {
		this.alternateName = alternateName;
	}
}
 */
// Hint: Enum methods automatically available:
// - MARS.ordinal()
// - MARS.name()
// - Planets.valueOf(name)
// - Enum.valueOf(Class, name)
